home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / PowerPlant / Everything / DModelessStuffData.h < prev    next >
Encoding:
Text File  |  1998-10-11  |  945 bĀ   |  47 lines  |  [TEXT/CWIE]

  1. // DModelessStuffData -- data class for Everything
  2.  
  3. #pragma once
  4.  
  5. #include "AMDataDef.h"
  6.  
  7. class LFileStream;
  8.  
  9.  
  10. const long    idTools3        = 'Too3';
  11. const long    idFromValuesList4        = 'Fro5';
  12. const long    idFromMenu3        = 'Fro6';
  13. const long    idTextList3        = 'Tex6';
  14.  
  15.  
  16. //----------
  17. class DModelessStuffData : public AMDataDef {
  18. public:
  19.                 DModelessStuffData ();
  20.     virtual        ~DModelessStuffData ();
  21.  
  22. public:
  23.     void        CopyFrom        (DModelessStuffData*        inOther);
  24.     void        ReadFromFile    (LFileStream*        inFile);
  25.     void        WriteToFile        (LFileStream*        inFile);
  26.  
  27. public:        // accessors
  28.     SInt16        GetTools3 () const;
  29.     void        SetTools3    (SInt16        inValue);
  30.  
  31.     SInt16        GetFromValuesList4 () const;
  32.     void        SetFromValuesList4    (SInt16        inValue);
  33.  
  34.     SInt16        GetFromMenu3 () const;
  35.     void        SetFromMenu3    (SInt16        inValue);
  36.  
  37.     SInt16        GetTextList3 () const;
  38.     void        SetTextList3    (SInt16        inValue);
  39.  
  40.  
  41. protected:
  42.     SInt16        mTools3;
  43.     SInt16        mFromValuesList4;
  44.     SInt16        mFromMenu3;
  45.     SInt16        mTextList3;
  46. };
  47.